#!/usr/bin/env node

const fs  = require('fs'),
    fileName = process.argv[2];

let num = 1;

try{
    fs.readFileSync(fileName)
        .toString('utf8')
        .split('\n')
        .forEach((line) =>  console.log(`${num++}\t${line}`));
}catch(e){
    console.log(e.message);
}
